package com.zkt.auth.domain.convert;

import com.zkt.auth.domain.entity.AuthUserBO;
import com.zkt.auth.infra.basic.entity.AuthUser;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * @author 赵开泰
 * @program jc-club
 * @date 2024/10/5
 * @description 用户的实体类型转换器
 **/

@Mapper
public interface AuthUserConverter {
	
	AuthUserConverter INSTANCE = Mappers.getMapper(AuthUserConverter.class);
	
	AuthUser convertBoToAuthUser(AuthUserBO authUserBO);
	
	AuthUserBO convertAuthUserToBo(AuthUser authUser);
	
}
